package com.chenchen.subject.domain.convert;

import com.chenchen.subject.domain.entity.SubjectCategoryBo;
import com.chenchen.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName SubjectCategoryConverter
 * description:
 *
 * @author 海问香
 * @createTime 2024/7/15 18:49
 */
@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANCE = Mappers.getMapper(SubjectCategoryConverter.class);

    SubjectCategory convertBoToCategory(SubjectCategoryBo subjectCategoryBo);
    List<SubjectCategoryBo> convertBoToCategory(List<SubjectCategory> subjectCategoryList);

}
